package com.wf.dto;

import com.baomidou.mybatisplus.annotation.*;
import com.wf.domain.ContractInfo;
import com.wf.domain.PaymentRecord;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author: zhiyu
 * @Date:19:31
 * @DESC:
 */
@Data
public class PayVO {
    /**
     * 支付ID
     */
    @TableId(type = IdType.AUTO)
    private Long manageId;

    /**
     * 房屋ID
     */
    private Integer housesId;

    /**
     * 年份
     */
    private Integer year;

    /**
     * 月份
     */
    private Integer month;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 用量
     */
    private Integer dosage;

    /**
     * 创建日期
     */

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createDate;
    /**
     * 更新日期
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateDate;
    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;
    @TableField(exist = false)
    private PaymentRecord paymentRecord;
    @TableField(exist = false)
    private ContractInfo contractInfo;
}
